package com.feifan.monthhelper.utils;

import java.util.List;
import java.util.Map;

public class NonUtils {
    public static boolean isNon(List<?> list) {
        return list == null || list.size() == 0;
    }

    public static boolean isNon(Map<?, ?> map) {
        return map == null || map.size() == 0;
    }

    public static boolean isNon(String[] strs) {
        return strs == null || strs.length == 0;
    }

    public static boolean isNon(Object[] objects) {
        return objects == null || objects.length == 0;
    }
}
